
export class Style {

    private _width: number;
    private _height: number;
    private _lineWidth: number = 1;
    private _color: string = "gray";

    constructor(width: number, height: number, lineWidth: number, color: string) {
        this._width = width;
        this._height = height;
        this._lineWidth = lineWidth;
        this._color = color;
    }

    get width(): number {
        return this._width;
    }

    set width(value: number) {
        this._width = value;
    }

    get height(): number {
        return this._height;
    }

    set height(value: number) {
        this._height = value;
    }

    get lineWidth(): number {
        return this._lineWidth;
    }

    set lineWidth(value: number) {
        this._lineWidth = value;
    }

    get color(): string {
        return this._color;
    }

    set color(value: string) {
        this._color = value;
    }
}